import {requests} from "@/utils/request";

export default {
    search(text){
        requests.post("/user/search",{
            search:text
        })
    },
    getRecentSearch(){
      return requests.get("/user/recentsearch")
    },
    getHotSearch(){
        return requests.get("/sys/gethotsearch")
    }
}